package cn.cvs.dao;

import cn.cvs.pojo.StorageRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface StorageRecordMapper {
    //第二章上机1
    List<StorageRecord> selectLikeList(StorageRecord storageRecord);

    //上机2
    List<StorageRecord> selectBySupplierName(StorageRecord storageRecord);

    //上机3
    List<StorageRecord> selectStorageBySupplierId(StorageRecord storageRecord);

    //上机4
    List<StorageRecord> selectStorageBySupplier(StorageRecord storageRecord);

    //第三章上机1
    List<StorageRecord> selectLikeList2(@Param("supplierId") Integer supplierId,@Param("payStatus") Integer payStatus,@Param("goodsName") String goodsName);

    //上机5
    List<StorageRecord> selectLikeList3(List<Integer> supplierId,Map<String,Object> srCode);

}
